home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / ddj9304.zip / WAVELET.ZIP / WAVEDATA.L < prev    next >
Text File  |  1992-02-06  |  11KB  |  337 lines

  1.  
  2. Creation date: Tue Feb 04 16:30:01 1992    wavedata.s    page 1
  3.  
  4.  
  5. Address    Instruction    Line #    Source line
  6.             1    /* WAVEDATA.S */
  7.             2    #include "dsp_type.h"
  8.             1    #define DSP32 1
  9.             3    #if DSP32
  10.             4    #include "dspregs.h"
  11.             1    /* dspregs.h */
  12.             2    /* register file redefinition */
  13.             3    #define  r1e   r1
  14.             4    #define  r2e   r2
  15.             5    #define  r3e   r3
  16.             6    #define  r4e   r4
  17.             7    #define  r5e   r5
  18.             8    #define  r6e   r6
  19.             9    #define  r7e   r7
  20.             10    #define  r8e   r8
  21.             11    #define  r9e   r9
  22.             12    #define  r10e  r10
  23.             13    #define  r11e  r11
  24.             14    #define  r12e  r12
  25.             15    #define  r13e  r13
  26.             16    #define  r14e  r14
  27.             17    #define  r15e  r15
  28.             18    #define  r16e  r16
  29.             19    #define  r17e  r17
  30.             20    #define  r18e  r18
  31.             21    #define  r19e  r19
  32.             22    #define  r20e  r20
  33.             23    #define  r21e  r21
  34.             24    
  35.             25    /* integer and float redefinition */
  36.             26    #define  int24  int
  37.             27    #define  float24  float
  38.             5    #endif
  39.             6    
  40.             7    .global WAVEADRS, WAVELVLS, IMAGSHOW, LVLADDRS
  41.             8    .global SIG_DRAW, DRAW_CNT, H_FILTER, L_FILTER
  42.             9    .global RST_DATA, IM0_PTRS, IM1_PTRS, IMAGE_0
  43.             10    .global STACKEND, SIGNALIN, DATA_OUT
  44.             11    
  45.             12    .align 4
  46. 0000        0000    13    WAVEADRS: int24 0;       /* jump address for wavelet filter length */
  47. 0002        0000    14    WAVEINDX: int24 0;       /* wrap back index for wavelet filter length */
  48. 0004        0006    15    WAVELVLS: int   6, 1625; /* number of levels, clear loop counter */
  49. 0006        0659    15
  50. 0008        0008    16    IMAGSHOW: int   8, 0;    /* unit interval count, active image pointer */
  51. 000a        0000    16
  52. 000c        0000    17    LVLADDRS: int24 SIGNALIN, APPROX_5; /* data pointer storage for level 5 */
  53. 000e        0018    17
  54.             18    
  55. 0010        0018    19              int24 APPROX_5, APPROX_4; /* data pointer storage for level 4 */
  56. 0012        0030    19
  57.             20    
  58. 0014        0030    21              int24 APPROX_4, APPROX_3; /* data pointer storage for level 3 */
  59. 0016        0048    21
  60.             22    
  61. 0018        0048    23              int24 APPROX_3, APPROX_2; /* data pointer storage for level 2 */
  62. 001a        0060    23
  63.             24    
  64. 001c        0060    25              int24 APPROX_2, APPROX_1; /* data pointer storage for level 1 */
  65. 001e        0078    25
  66.  
  67.  
  68. Creation date: Tue Feb 04 16:30:02 199    wavedata.s    page 2
  69.  
  70.  
  71. Address    Instruction    Line #    Source line
  72.             26    
  73. 0020        0078    27              int24 APPROX_1, 0;        /* data pointer storage for level 0 */
  74. 0022        0000    27
  75.             28    
  76.             29    .align 4
  77. 0024    00000000    30    SIG_DRAW: float 0.0, 24.0, 48.0, 0.0; /* scaling and offset coefficients */
  78. 0028    40000084    30
  79. 002c    40000085    30
  80. 0030    00000000    30
  81. 0034        0000    31              int   0, 64;                /* temp storage, row increment */
  82. 0036        0040    31
  83. 0038        0600    32              int   1536, 0;              /* baseline value, bit pointer */
  84. 003a        0000    32
  85. 003c        0000    33              int24 0;                    /* byte column pointer */
  86. 003e          00    34    .align 4
  87. 003f          00    34
  88. 0040    00000000    35              float 0.0, 24.0, 48.0, 0.0;
  89. 0044    40000084    35
  90. 0048    40000085    35
  91. 004c    00000000    35
  92. 0050        0000    36              int   0, 32;
  93. 0052        0020    36
  94. 0054        0300    37              int   768, 0;
  95. 0056        0000    37
  96. 0058        0000    38              int24 0;
  97. 005a          00    39    .align 4
  98. 005b          00    39
  99. 005c    00000000    40              float 0.0, 24.0, 48.0, 0.0;
  100. 0060    40000084    40
  101. 0064    40000085    40
  102. 0068    00000000    40
  103. 006c        0000    41              int   0, 16;
  104. 006e        0010    41
  105. 0070        0180    42              int   384, 0;
  106. 0072        0000    42
  107. 0074        0000    43              int24 0;
  108. 0076          00    44    .align 4
  109. 0077          00    44
  110. 0078    00000000    45              float 0.0, 24.0, 48.0, 0.0;
  111. 007c    40000084    45
  112. 0080    40000085    45
  113. 0084    00000000    45
  114. 0088        0000    46              int   0, 8;
  115. 008a        0008    46
  116. 008c        00c0    47              int   192, 0;
  117. 008e        0000    47
  118. 0090        0000    48              int24 0;
  119. 0092          00    49    .align 4
  120. 0093          00    49
  121. 0094    00000000    50              float 0.0, 24.0, 48.0, 0.0;
  122. 0098    40000084    50
  123. 009c    40000085    50
  124. 00a0    00000000    50
  125. 00a4        0000    51              int   0, 4;
  126. 00a6        0004    51
  127. 00a8        0060    52              int   96, 0;
  128. 00aa        0000    52
  129. 00ac        0000    53              int24 0;
  130. 00ae          00    54    .align 4
  131. 00af          00    54
  132.  
  133.  
  134. Creation date: Tue Feb 04 16:30:02 199    wavedata.s    page 3
  135.  
  136.  
  137. Address    Instruction    Line #    Source line
  138. 00b0    00000000    55              float 0.0, 24.0, 48.0, 0.0;
  139. 00b4    40000084    55
  140. 00b8    40000085    55
  141. 00bc    00000000    55
  142. 00c0        0000    56              int   0, 2;
  143. 00c2        0002    56
  144. 00c4        0030    57              int   48, 0;
  145. 00c6        0000    57
  146. 00c8        0000    58              int24 0;
  147. 00ca          00    59    .align 4
  148. 00cb          00    59
  149. 00cc    00000000    60              float 0.0, 24.0, 48.0, 0.0;
  150. 00d0    40000084    60
  151. 00d4    40000085    60
  152. 00d8    00000000    60
  153. 00dc        0000    61              int   0, 2;
  154. 00de        0002    61
  155. 00e0        0030    62              int   48, 0;
  156. 00e2        0000    62
  157. 00e4        0000    63              int24 0;
  158. 00e6          00    64    .align 4
  159. 00e7          00    64
  160. 00e8    00000000    65              float 0.0, 24.0, 48.0, 0.0;
  161. 00ec    40000084    65
  162. 00f0    40000085    65
  163. 00f4    00000000    65
  164. 00f8        0000    66              int   0, 2;
  165. 00fa        0002    66
  166. 00fc        0030    67              int   48, 0;
  167. 00fe        0000    67
  168. 0100        0000    68              int24 0;
  169.             69    
  170. 0102          06    70    DRAW_CNT: byte 6, 4, 3, 2, 1, 0;
  171. 0103          04    70
  172. 0104          03    70
  173. 0105          02    70
  174. 0106          01    70
  175. 0107          00    70
  176.             71    
  177.             72    .align 4
  178. 0108    00000000    73    H_FILTER: 6*float 0.0; /* highpass wavelet filter storage allocation */
  179.             74    
  180. 0120    00000000    75    L_FILTER: 6*float 0.0; /* lowpass wavelet filter storage allocation */
  181.             76    
  182.             77    /* image pointer reset initialization data */
  183. 0138        0002    78    RST_DATA: int24 0x02; /* position of first pixel in unit interval at reset */
  184. 013a        017f    79              int24 IM0INITS; /* 00 00 00 00 00 00 00 01 */
  185.             80    
  186. 013c        0001    81              int24 0x01, IM0INIT5; /* 00 00 00 01 */
  187. 013e        0dfb    81
  188.             82    
  189. 0140        0001    83              int24 0x01, IM0INIT4; /* 00 01 */
  190. 0142        1439    83
  191.             84    
  192. 0144        0001    85              int24 0x01, IM0_LVL3; /* 01 */
  193. 0146        1758    85
  194.             86    
  195. 0148        0010    87              int24 0x10, IM0_LVL2; /* 10 */
  196. 014a        18e8    87
  197.             88    
  198.  
  199.  
  200. Creation date: Tue Feb 04 16:30:02 199    wavedata.s    page 4
  201.  
  202.  
  203. Address    Instruction    Line #    Source line
  204. 014c        0040    89              int24 0x40, IM0_LVL1; /* 40 */
  205. 014e        19b0    89
  206.             90    
  207. 0150        0080    91              int24 0x80, IM0_LVL0; /* 80 */
  208. 0152        1a14    91
  209.             92    
  210. 0154        0080    93              int24 0x80, IM0_LVLA; /* 80 */
  211. 0156        1a78    93
  212.             94    
  213.             95    /* image pointer switch initialization data */
  214. 0158        0178    96    IM0_PTRS: int24 IM0SIGNL, IM0_LVL5, IM0_LVL4, IM0_LVL3;
  215. 015a        0df8    96
  216. 015c        1438    96
  217. 015e        1758    96
  218. 0160        18e8    97              int24 IM0_LVL2, IM0_LVL1, IM0_LVL0, IM0_LVLA;
  219. 0162        19b0    97
  220. 0164        1a14    97
  221. 0166        1a78    97
  222.             98    
  223. 0168        1adc    99    IM1_PTRS: int24 IM1SIGNL, IM1_LVL5, IM1_LVL4, IM1_LVL3;
  224. 016a        275c    99
  225. 016c        2d9c    99
  226. 016e        30bc    99
  227. 0170        324c    100              int24 IM1_LVL2, IM1_LVL1, IM1_LVL0, IM1_LVLA;
  228. 0172        3314    100
  229. 0174        3378    100
  230. 0176        33dc    100
  231.             101    
  232.             102    /* IMAGE 0 storage allocation */
  233.             103    IMAGE_0:
  234. 0178          00    104    IM0SIGNL: 7*byte 0;
  235. 017f          00    105    IM0INITS: 3193*byte 0;
  236.             106    
  237. 0df8          00    107    IM0_LVL5: 3*byte 0;
  238. 0dfb          00    108    IM0INIT5: 1597*byte 0;
  239.             109    
  240. 1438          00    110    IM0_LVL4: byte 0;
  241. 1439          00    111    IM0INIT4: 799*byte 0;
  242.             112    
  243. 1758          00    113    IM0_LVL3: 400*byte 0;
  244.             114    
  245. 18e8          00    115    IM0_LVL2: 200*byte 0;
  246.             116    
  247. 19b0          00    117    IM0_LVL1: 100*byte 0;
  248.             118    
  249. 1a14          00    119    IM0_LVL0: 100*byte 0;
  250.             120    
  251. 1a78          00    121    IM0_LVLA: 100*byte 0;
  252.             122    
  253.             123    /* IMAGE 1 storage allocation */
  254. 1adc          00    124    IM1SIGNL: 3200*byte 0;
  255.             125    
  256. 275c          00    126    IM1_LVL5: 1600*byte 0;
  257.             127    
  258. 2d9c          00    128    IM1_LVL4: 800*byte 0;
  259.             129    
  260. 30bc          00    130    IM1_LVL3: 400*byte 0;
  261.             131    
  262. 324c          00    132    IM1_LVL2: 200*byte 0;
  263.             133    
  264.  
  265.  
  266. Creation date: Tue Feb 04 16:30:02 199    wavedata.s    page 5
  267.  
  268.  
  269. Address    Instruction    Line #    Source line
  270. 3314          00    134    IM1_LVL1: 100*byte 0;
  271.             135    
  272. 3378          00    136    IM1_LVL0: 100*byte 0;
  273.             137    
  274. 33dc          00    138    IM1_LVLA: 100*byte 0;
  275.             139    
  276.             140    .align 2
  277. 3440        0000    141    STACKBSE: 31*int24 0; /* subroutine stack storage allocation */
  278. 347e        0000    142    STACKEND: int24 0;
  279.             143    
  280.             144    .rsect ".hi_ram"
  281. 0000    00000000    145    SIGNALIN: 6*float 0.0; /* approximation data storage allocation */
  282. 0018    00000000    146    APPROX_5: 6*float 0.0;
  283. 0030    00000000    147    APPROX_4: 6*float 0.0;
  284. 0048    00000000    148    APPROX_3: 6*float 0.0;
  285. 0060    00000000    149    APPROX_2: 6*float 0.0;
  286. 0078    00000000    150    APPROX_1: 6*float 0.0;
  287. 0090    00000000    151    DATA_OUT: 9*float 0.0; /* output data storage allocation */
  288.             152    
  289.  
  290.  
  291.  
  292. Symbol Table
  293. .file    wavedata.s
  294. .hi_ram    (section 1)    size 0xb4
  295. .bank0    (section 2)    size 0x3480
  296. STACKBSE    section 2    defined    value 0x3440
  297. DATA_OUT    section 1    global    defined    value 0x90
  298. SIGNALIN    section 1    global    defined    value 0x0
  299. IM1_LVL0    section 2    defined    value 0x3378
  300. IM1_LVL1    section 2    defined    value 0x3314
  301. IM1_LVL2    section 2    defined    value 0x324c
  302. IM1_LVL3    section 2    defined    value 0x30bc
  303. STACKEND    section 2    global    defined    value 0x347e
  304. IMAGSHOW    section 2    global    defined    value 0x8
  305. IM1_LVL4    section 2    defined    value 0x2d9c
  306. IM0_PTRS    section 2    global    defined    value 0x158
  307. IM1_LVL5    section 2    defined    value 0x275c
  308. IM0INITS    section 2    defined    value 0x17f
  309. H_FILTER    section 2    global    defined    value 0x108
  310. IM1_LVLA    section 2    defined    value 0x33dc
  311. WAVEADRS    section 2    global    defined    value 0x0
  312. RST_DATA    section 2    global    defined    value 0x138
  313. WAVEINDX    section 2    defined    value 0x2
  314. WAVELVLS    section 2    global    defined    value 0x4
  315. IM0_LVL0    section 2    defined    value 0x1a14
  316. IM1SIGNL    section 2    defined    value 0x1adc
  317. IM0_LVL1    section 2    defined    value 0x19b0
  318. IM0_LVL2    section 2    defined    value 0x18e8
  319. IM0_LVL3    section 2    defined    value 0x1758
  320. IM0_LVL4    section 2    defined    value 0x1438
  321. IM0_LVL5    section 2    defined    value 0xdf8
  322. LVLADDRS    section 2    global    defined    value 0xc
  323. APPROX_1    section 1    defined    value 0x78
  324. APPROX_2    section 1    defined    value 0x60
  325. APPROX_3    section 1    defined    value 0x48
  326. IM0_LVLA    section 2    defined    value 0x1a78
  327. APPROX_4    section 1    defined    value 0x30
  328. APPROX_5    section 1    defined    value 0x18
  329. IMAGE_0    section 2    global    defined    value 0x178
  330. IM0SIGNL    section 2    defined    value 0x178
  331. IM0INIT4    section 2    defined    value 0x1439
  332. IM0INIT5    section 2    defined    value 0xdfb
  333. IM1_PTRS    section 2    global    defined    value 0x168
  334. DRAW_CNT    section 2    global    defined    value 0x102
  335. SIG_DRAW    section 2    global    defined    value 0x24
  336. L_FILTER    section 2    global    defined    value 0x120
  337.